<div class="wrap">
<h2>
<?php
echo _e('Import');

?>
</h2>
<p>
<?php
echo _e('Please select import item from below: ');

?>
</p>

<?php
$items = initImportItem();
$html = array();
$wrap = "\n\t";
foreach($items AS $item) {
    $style = ("class='alternate'" == $style)?"":"class='alternate'";
    $html[] = "<tr $style>" . $wrap;
    $html[] = "<td class='import-system row-title'>";
    $html[] = "<a href='";
    $html[] = $_SERVER['PHP_SELF'] . "?action=" . $item['action'] . "' title='" . $item['desc'] . "'>";
    $html[] = $item['name'];
    $html[] = "</td>" . $wrap;
    $html[] = "<td class='desc'>";
    $html[] = $item['desc'];
    $html[] = "</td>" . $wrap;
    $html[] = "</tr>" . $wrap;
}

?>

<table class="widefat">
<?php

echo implode('', $html);

?>
</table>
<?php
echo (isset($_GET['action']))?showImportForm():"";
?>

</div>
</div><!-- wpbody -->
</div><!-- wpcontent -->
</div><!-- wpwrap -->